package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.BlacklistLabourDao;
import com.site.wisdom_construction.entity.personnelModule.BlacklistLabour;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/7
 * @Description
 */
@Service
public class BlacklistLabourService implements BlacklistLabourDao {
    @Autowired
    private BlacklistLabourDao blacklistLabourDao;

    @Override
    public int insertBlacklistLabour(Map map) {
        return blacklistLabourDao.insertBlacklistLabour(map);
    }

    @Override
    public int deleteBlacklistLabour(Map map) {
        return blacklistLabourDao.deleteBlacklistLabour(map);
    }

    @Override
    public int updateBlacklistLabour(Map map) {
        return blacklistLabourDao.updateBlacklistLabour(map);
    }

    @Override
    public List<BlacklistLabour> findBlacklistLabourByPage(Map map) {
        return blacklistLabourDao.findBlacklistLabourByPage(map);
    }

    @Override
    public long Total(Map map) {
        return blacklistLabourDao.Total(map);
    }

    @Override
    public BlacklistLabour findBlacklistLabourById(Map map) {
        return blacklistLabourDao.findBlacklistLabourById(map);
    }
}
